package com.java.service.impl;

import com.java.dao.ProductMapper;
import com.java.model.Product;
import com.java.model.Result;
import com.java.service.ProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    private ProductMapper productMapper;

    @Override
    public Result save(Product product) {
        return null;
    }

    @Override
    public Result modify(Product product) {
        return null;
    }

    @Override
    public Result remove(int[] ids) {
        return null;
    }

    @Override
    public Result list(Product product) {
        return null;
    }

    @Override
    public Result get(int id) {
        return null;
    }

    @Override
    public List<Product> toList() {
        return productMapper.toList();
    }
}
